variable "instance_number" {
  default = 2
  description = "创建ecs服务器数据量，默认值为一台"
}

variable "instance_type" {
  default = "ecs.s6-c1m2.small"
  description = "创建ecs服务器实例规格"
}

variable "instance_name" {
  default = "iac_autoscale_"
  description = "创建的ecs服务器名称"
}

variable "availability_zone" {
  default = "cn-hangzhou-k"
  description = "可用区域"
}

variable "iac_portal" {
  default = "registry-vpc.cn-hangzhou.aliyuncs.com/idcos-cloudiac/iac-portal:latest"
  description = "iac-portal 镜像地址以及版本"
}

variable "ct_runner" {
  default = "registry-vpc.cn-hangzhou.aliyuncs.com/idcos-cloudiac/ct-runner:latest"
  description = "ct-runner 镜像地址以及版本"
}

variable "ct_worker" {
  default = "registry-vpc.cn-hangzhou.aliyuncs.com/idcos-cloudiac/ct-worker:latest"
  description = "ct-worker 镜像地址以及版本"
}

variable "iac_web" {
  default = "registry-vpc.cn-hangzhou.aliyuncs.com/idcos-cloudiac/iac-web:latest"
  description = "iac-web 镜像地址以及版本"
}

variable "consul" {
  default = "registry-vpc.cn-hangzhou.aliyuncs.com/idcos-common/consul:latest"
  description = "consul 镜像地址以及版本"
}

variable "key_name" {
  default = "iac-autoscale-"
}

variable "public_key" {
  default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDjSh5R1dphAxLKkf2JmTGnh1HVj2xRZ68ll6no349D70xXSabTLB1Y1NTZip5f3U/ur1qiKkw72Gb6/E7eEGis7TFl5klsdeFWmYjfAwvsV1cdmC/IwSXCtpXItO+219E3FZJIde6zm/KC9vP9W4i847+j0GWRyN2LLy8cnWIeuIuwKZKz516fy4LtXJVgASNcoOnuyGMNzqK7sHgE6L67NfBGEvkuA/cHyffolQsPLo/P4MK/OuvWIJV7LFf17yv/J2VY/7VvN7qBg7OmmRfl4qFEZIumi0QD1CD6IS0d9o8L9IdmesB3qwnc3f8NtEAI3mKKVndJzpDVvqZBlyN3 root@CloudCMP-poc-7-44"
}

variable "docker_pw" {
}

variable "mysql_root_user" {
  default = "iac"
}

variable "mysql_root_pw" {
  default = "4ksjv1TNi8w="
}

variable "resource_group_id" {
  default = "test1$"
  description = "资源组名称"
}

variable "image_id" {
  default = "centos_7_7_x64_20G_alibase_20200426.vhd"
  description = "自定义镜像"
}

variable "middleware_name" {
  default = "iac_middleware_test"
  description = "CloudIaC公共组件服务"
}